home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / info / rmail.info < prev    next >
Encoding:
GNU Info File  |  1995-09-01  |  32.7 KB  |  805 lines

  1. This is Info file ../info/rmail.info, produced by Makeinfo-1.55 from
  2. the input file rmail.texi.
  3.  
  4.    This file documents the Rmail mail reader.
  5.  
  6.    Copyright (C) 1991 Free Software Foundation
  7.  
  8.    Permission is granted to make and distribute verbatim copies of this
  9. manual provided the copyright notice and this permission notice are
  10. preserved on all copies.
  11.  
  12. 
  13. File: rmail.info,  Node: Top,  Next: Rmail Scrolling,  Up: (DIR)
  14.  
  15.    NOTE: The recommended mail reader in XEmacs is VM, which provides
  16. more flexibility than Rmail and stores mail in standard Unix-mail-format
  17. folders rather than in a special format.  VM comes with its own manual,
  18. included standard with XEmacs.
  19.  
  20.    XEmacs also provides a sophisticated and comfortable front-end to the
  21. MH mail-processing system, called `mh-e'.
  22.  
  23.    This manual documents the Rmail mail reader under Emacs.
  24.  
  25.    Rmail is an Emacs subsystem for reading and disposing of mail that
  26. you receive.  Rmail stores mail messages in files called Rmail files.
  27. You read the messages in an Rmail file in a special major mode, Rmail
  28. mode, which redefines most letters to run commands for managing mail.
  29. To enter Rmail, type `M-x rmail'.  This reads your primary mail file,
  30. merges new mail in from your inboxes, displays the first new message,
  31. and lets you begin reading.
  32.  
  33.    Using Rmail in the simplest fashion, you have one Rmail file,
  34. `~/RMAIL', in which all of your mail is saved.  It is called your
  35. "primary mail file".  You can also copy messages into other Rmail files
  36. and then edit those files with Rmail.
  37.  
  38.    Rmail displays only one message at a time.  It is called the
  39. "current message".  Rmail mode's special commands can move to another
  40. message, delete the message, copy the message into another file, or
  41. send a reply.
  42.  
  43.    Within the Rmail file, messages are arranged sequentially in order
  44. of receipt.  They are also assigned consecutive integers as their
  45. "message numbers".  The number of the current message is displayed in
  46. Rmail's mode line, followed by the total number of messages in the
  47. file.  You can move to a message by specifying its message number using
  48. the `j' key (*note Rmail Motion::.).
  49.  
  50.    Following the usual conventions of Emacs, changes in an Rmail file
  51. become permanent only when the file is saved.  You can do this with `s'
  52. (`rmail-save'), which also expunges deleted messages from the file
  53. first (*note Rmail Deletion::.).  To save the file without expunging,
  54. use `C-x C-s'.  Rmail saves the Rmail file automatically when moving new
  55. mail from an inbox file (*note Rmail Inbox::.).
  56.  
  57.    You can exit Rmail with `q' (`rmail-quit'); this expunges and saves
  58. the Rmail file and then switches to another buffer.  However, there is
  59. no need to `exit' formally.  If you switch from Rmail to editing in
  60. other buffers, and never happen to switch back, you have exited.  Just
  61. make sure to save the Rmail file eventually (like any other file you
  62. have changed).  `C-x s' is a good enough way to do this.
  63.  
  64. * Menu:
  65.  
  66. * Scroll: Rmail Scrolling.   Scrolling through a message.
  67. * Motion: Rmail Motion.      Moving to another message.
  68. * Deletion: Rmail Deletion.  Deleting and expunging messages.
  69. * Inbox: Rmail Inbox.        How mail gets into the Rmail file.
  70. * Files: Rmail Files.        Using multiple Rmail files.
  71. * Output: Rmail Output.         Copying message out to files.
  72. * Labels: Rmail Labels.      Classifying messages by labeling them.
  73. * Summary: Rmail Summary.    Summaries show brief info on many messages.
  74. * Reply: Rmail Reply.        Sending replies to messages you are viewing.
  75. * Editing: Rmail Editing.    Editing message text and headers in Rmail.
  76. * Digest: Rmail Digest.      Extracting the messages from a digest message.
  77.  
  78. 
  79. File: rmail.info,  Node: Rmail Scrolling,  Next: Rmail Motion,  Prev: Top,  Up: Top
  80.  
  81. Scrolling Within a Message
  82. **************************
  83.  
  84.    When Rmail displays a message that does not fit on the screen, you
  85. have to scroll through it.  You could use `C-v', `M-v', and `M-<', but
  86. scrolling is so frequent in Rmail that it deserves to be easier to type.
  87.  
  88. `SPC'
  89.      Scroll forward (`scroll-up').
  90.  
  91. `DEL'
  92.      Scroll backward (`scroll-down').
  93.  
  94. `.'
  95.      Scroll to start of message (`rmail-beginning-of-message').
  96.  
  97.    Since the most common thing to do while reading a message is to
  98. scroll through it by screenfuls, Rmail makes SPC and DEL synonyms of
  99. `C-v' (`scroll-up') and `M-v' (`scroll-down')
  100.  
  101.    The command `.' (`rmail-beginning-of-message') scrolls back to the
  102. beginning of a selected message.  This is not quite the same as `M-<':
  103. first, it does not set the mark; secondly, it resets the buffer
  104. boundaries to the current message if you have changed them.
  105.  
  106. 
  107. File: rmail.info,  Node: Rmail Motion,  Next: Rmail Deletion,  Prev: Rmail Scrolling,  Up: Top
  108.  
  109. Moving Among Messages
  110. *********************
  111.  
  112.    The most basic thing to do with a message is to read it.  The way to
  113. do this in Rmail is to make the message current.  You can make any
  114. message current, given its message number, by using the `j' command, but
  115. people most often move sequentially through the file, since this is the
  116. order of receipt of messages.  When you enter Rmail, you are positioned
  117. at the first new message (new messages are those received after you last
  118. used Rmail), or at the last message if there are no new messages this
  119. time.  Move forward to see other new messages if there are any; move
  120. backward to re-examine old messages.
  121.  
  122. `n'
  123.      Move to the next non-deleted message, skipping any intervening
  124.      deleted
  125.      messages (`rmail-next-undeleted-message').
  126.  
  127. `p'
  128.      Move to the previous non-deleted message
  129.      (`rmail-previous-undeleted-message').
  130.  
  131. `M-n'
  132.      Move to the next message, including deleted messages
  133.      (`rmail-next-message').
  134.  
  135. `M-p'
  136.      Move to the previous message, including deleted messages
  137.      (`rmail-previous-message').
  138.  
  139. `j'
  140.      Move to the first message.  With argument N, move to message
  141.      number N (`rmail-show-message').
  142.  
  143. `>'
  144.      Move to the last message (`rmail-last-message').
  145.  
  146. `M-s REGEXP RET'
  147.      Move to the next message containing a match for REGEXP
  148.      (`rmail-search').  If REGEXP is empty, the last regexp used is
  149.      used again.
  150.  
  151. `- M-s REGEXP RET'
  152.      Move to the previous message containing a match for REGEXP.  If
  153.      REGEXP is empty, the last regexp used is used again.
  154.  
  155.    To move among messages in Rmail, you can use `n' and `p'.  These
  156. keys move through the messages sequentially but skip over deleted
  157. messages, which is usually what you want to do.  Their command
  158. definitions are named `rmail-next-undeleted-message' and
  159. `rmail-previous-undeleted-message'.  If you do not want to skip deleted
  160. messages--for example, if you want to move to a message to undelete
  161. it--use the variants `M-n' (`rmail-next-message') and `M-p'
  162. (`rmail-previous-message').  A numeric argument to any of these
  163. commands serves as a repeat count.
  164.  
  165.    In Rmail, you can specify a numeric argument by just typing the
  166. digits.  It is not necessary to type `C-u' first.
  167.  
  168.    The `M-s' (`rmail-search') command is Rmail's version of search.
  169. The usual incremental search command `C-s' works in Rmail, but searches
  170. only within the current message.  The purpose of `M-s' is to search for
  171. another message.  It reads a regular expression non-incrementally, then
  172. starts searching at the beginning of the following message for a match.
  173. The message containing the match is selected.
  174.  
  175.    To search backward in the file for another message, give `M-s' a
  176. negative argument.  In Rmail you can do this with `- M-s'.
  177.  
  178.    It is also possible to search for a message based on labels.  *Note
  179. Rmail Labels::.
  180.  
  181.    To move to a message specified by absolute message number, use `j'
  182. (`rmail-show-message') with the message number as argument.  With no
  183. argument, `j' selects the first message.  `>' (`rmail-last-message')
  184. selects the last message.
  185.  
  186. 
  187. File: rmail.info,  Node: Rmail Deletion,  Next: Rmail Inbox,  Prev: Rmail Motion,  Up: Top
  188.  
  189. Deleting Messages
  190. *****************
  191.  
  192.    When you no longer need to keep a message, you can "delete" it.  This
  193. flags it as ignorable, and some Rmail commands will pretend it is no
  194. longer present, but it still has its place in the Rmail file and still
  195. has its message number.
  196.  
  197.    "Expunging" the Rmail file actually removes the deleted messages.
  198. The remaining messages are renumbered consecutively.  Expunging is the
  199. only action that changes the message number of any message, except for
  200. undigestifying (*note Rmail Digest::.).
  201.  
  202. `d'
  203.      Delete the current message and move to the next non-deleted message
  204.      (`rmail-delete-forward').
  205.  
  206. `C-d'
  207.      Delete the current message and move to the previous non-deleted
  208.      message (`rmail-delete-backward').
  209.  
  210. `u'
  211.      Undelete the current message, or move back to a deleted message and
  212.      undelete it (`rmail-undelete-previous-message').
  213.  
  214. `e'
  215. `x'
  216.      Expunge the Rmail file (`rmail-expunge').  These two commands are
  217.      synonyms.
  218.  
  219.    There are two Rmail commands for deleting messages.  Both delete the
  220. current message and select another message.  `d'
  221. (`rmail-delete-forward') moves to the following message, skipping
  222. messages already deleted, while `C-d' (`rmail-delete-backward') moves
  223. to the previous non-deleted message.  If there is no non-deleted
  224. message to move to in the specified direction, the message that was just
  225. deleted remains current.
  226.  
  227.    To make all deleted messages disappear from the Rmail file, type `e'
  228. (`rmail-expunge').  Until you do this, you can still "undelete" the
  229. deleted messages.
  230.  
  231.    To undelete, type `u' (`rmail-undelete-previous-message'), which
  232. cancels the effect of a `d' command (usually).  It undeletes the
  233. current message if the current message is deleted.  Otherwise it moves
  234. backward to previous messages until a deleted message is found, and
  235. undeletes that message.
  236.  
  237.    You can usually undo a `d' with a `u' because the `u' moves back to
  238. and undeletes the message that the `d' deleted.  This does not work
  239. when the `d' skips a few already-deleted messages that follow the
  240. message being deleted; in that case the `u' command undeletes the last
  241. of the messages that were skipped.  There is no clean way to avoid this
  242. problem.  However, by repeating the `u' command, you can eventually get
  243. back to the message you intended to undelete.  You can also reach that
  244. message with `M-p' commands and then type `u'.
  245.  
  246.    A deleted message has the `deleted' attribute, and as a result
  247. `deleted' appears in the mode line when the current message is deleted.
  248. In fact, deleting or undeleting a message is nothing more than adding
  249. or removing this attribute.  *Note Rmail Labels::.
  250.  
  251. 
  252. File: rmail.info,  Node: Rmail Inbox,  Next: Rmail Files,  Prev: Rmail Deletion,  Up: Top
  253.  
  254. Rmail Files and Inboxes
  255. ***********************
  256.  
  257.    Unix places your incoming mail in a file called your "inbox".  When
  258. you start up Rmail, it copies the new messages from your inbox into
  259. your primary mail file, an Rmail file which also contains other messages
  260. saved from previous Rmail sessions.  In this file, you actually read
  261. the mail with Rmail.  The operation is called "getting new mail".  You
  262. can repeat it at any time using the `g' key in Rmail.  The inbox file
  263. name is `/usr/spool/mail/USERNAME' in Berkeley Unix,
  264. `/usr/mail/USERNAME' in system V.
  265.  
  266.    There are two reason for having separate Rmail files and inboxes.
  267.  
  268.   1. The format in which Unix delivers the mail in the inbox is not
  269.      adequate for Rmail mail storage.  It has no way to record
  270.      attributes (such as `deleted') or user-specified labels; it has no
  271.      way to record old headers and reformatted headers; it has no way
  272.      to record cached summary line information.
  273.  
  274.   2. It is very cumbersome to access an inbox file without danger of
  275.      losing mail, because it is necessary to interlock with mail
  276.      delivery.  Moreover, different Unix systems use different
  277.      interlocking techniques.  The strategy of moving mail out of the
  278.      inbox once and for all into a separate Rmail file avoids the need
  279.      for interlocking in all the rest of Rmail, since only Rmail
  280.      operates on the Rmail file.
  281.  
  282.    When getting new mail, Rmail first copies the new mail from the inbox
  283. file to the Rmail file and saves the Rmail file.  It then deletes the
  284. inbox file.  This way a system crash may cause duplication of mail
  285. between the inbox and the Rmail file, but it cannot lose mail.
  286.  
  287.    Copying mail from an inbox in the system's mailer directory actually
  288. puts it in an intermediate file, `~/.newmail'.  This is because the
  289. interlocking is done by a C program that copies to another file.
  290. `~/.newmail' is deleted after mail merging is successful.  If there is
  291. a crash at the wrong time, this file will continue to exist and will be
  292. used as an inbox the next time you get new mail.
  293.  
  294. 
  295. File: rmail.info,  Node: Rmail Files,  Next: Rmail Output,  Prev: Rmail Inbox,  Up: Top
  296.  
  297. Multiple Mail Files
  298. *******************
  299.  
  300.    Rmail operates by default on your "primary mail file", which is
  301. named `~/RMAIL' and which receives your incoming mail from your system
  302. inbox file. You can also have other mail files and edit them with
  303. Rmail.  These files can receive mail through their own inboxes, or you
  304. can move messages into them by explicit command in Rmail (*note Rmail
  305. Output::.).
  306.  
  307. `i FILE RET'
  308.      Read FILE into Emacs and run Rmail on it (`rmail-input').
  309.  
  310. `M-x set-rmail-inbox-list RET FILES RET'
  311.      Specify inbox file names for current Rmail file to get mail from.
  312.  
  313. `g'
  314.      Merge new mail from current Rmail file's inboxes
  315.      (`rmail-get-new-mail').
  316.  
  317. `C-u g FILE'
  318.      Merge new mail from inbox file FILE.
  319.  
  320.    To run Rmail on a file other than your primary mail file, you may use
  321. the `i' (`rmail-input') command in Rmail.  This visits the file, puts
  322. it in Rmail mode, and then gets new mail from the file's inboxes if
  323. any.  You can also use `M-x rmail-input' even when not in Rmail.
  324.  
  325.    The file you read with `i' does not have to be in Rmail file format.
  326. It could also be Unix mail format, mmdf format, or it could be a mixture
  327. of all three, as long as each message has one of the three formats.
  328. Rmail recognizes all three and converts all the messages to proper Rmail
  329. format before showing you the file.
  330.  
  331.    Each Rmail file can contain a list of inbox file names; you can
  332. specify this list with `M-x set-rmail-inbox-list RET FILES RET'.  The
  333. argument can contain any number of file names, separated by commas.  It
  334. can also be empty, which specifies that this file should have no
  335. inboxes.  Once a list of inboxes is specified, the Rmail file remembers
  336. it permanently until it is explicitly changed.
  337.  
  338.    If an Rmail file has inboxes, new mail is merged in from the inboxes
  339. when you bring the Rmail file into Rmail, and when you use the `g'
  340. (`rmail-get-new-mail') command.  If the Rmail file specifies no
  341. inboxes, then no new mail is merged in at these times.  A special
  342. exception is made for your primary mail file: Rmail uses the standard
  343. system inbox for it if it does not specify an inbox.
  344.  
  345.    To merge mail from a file that is not the usual inbox, give the `g'
  346. key a numeric argument, as in `C-u g'.  Rmail prompts you for a file
  347. name and merges mail from that file.  The inbox file is not deleted or
  348. changed at all when you use `g' with an argument, so this is a general
  349. way of merging one file of messages into another.
  350.  
  351. 
  352. File: rmail.info,  Node: Rmail Output,  Next: Rmail Labels,  Prev: Rmail Files,  Up: Top
  353.  
  354. Copying Messages Out to Files
  355. *****************************
  356.  
  357. `o FILE RET'
  358.      Append a copy of the current message to the file FILE, writing it
  359.      in Rmail file format (`rmail-output-to-rmail-file').
  360.  
  361. `C-o FILE RET'
  362.      Append a copy of the current message to the file FILE, writing it
  363.      in Unix mail file format (`rmail-output').
  364.  
  365.    If an Rmail file has no inboxes, use explicit `o' commands to write
  366. Rmail files.
  367.  
  368.    `o' (`rmail-output-to-rmail-file') appends the current message in
  369. Rmail format to the end of a specified file.  This is the best command
  370. to use to move messages between Rmail files.  If you are currently
  371. visiting the other Rmail file, copying is done into the other file's
  372. Emacs buffer instead.  You should eventually save the buffer on disk.
  373.  
  374.    The `C-o' (`rmail-output') command in Rmail appends a copy of the
  375. current message to a specified file, in Unix mail file format.  This is
  376. useful for moving messages into files to be read by other mail
  377. processors that do not understand Rmail format.
  378.  
  379.    Copying a message with `o' or `C-o' gives the original copy of the
  380. message the `filed' attribute. `filed' appears in the mode line when
  381. such a message is current.
  382.  
  383.    Normally you should use only `o' to output messages to other Rmail
  384. files, never `C-o'.  But it is also safe if you always use `C-o', never
  385. `o'.  When a file is visited in Rmail, the last message is checked, and
  386. if it is in Unix format, the entire file is scanned and all Unix-format
  387. messages are converted to Rmail format.  (The reason for checking the
  388. last message is that scanning the file is slow and most Rmail files
  389. have only Rmail format messages.)  If you use `C-o' consistently, the
  390. last message is guaranteed to be in Unix format, so Rmail will convert
  391. all messages properly.
  392.  
  393.    When you and other users want to append mail to the same file, you
  394. probably always want to use `C-o' instead of `o'.  Other mail
  395. processors may not know Rmail format but will know Unix format.
  396.  
  397.    In any case, always use `o' to add to an Rmail file that is being
  398. visited in Rmail.  Adding messages with `C-o' to the actual disk file
  399. will trigger a "simultaneous editing" warning when you ask to save the
  400. Emacs buffer, and the messages will be lost if you do save.
  401.  
  402. 
  403. File: rmail.info,  Node: Rmail Labels,  Next: Rmail Summary,  Prev: Rmail Output,  Up: Top
  404.  
  405. Labels
  406. ******
  407.  
  408.    Each message can have various "labels" assigned to it as a means of
  409. classification.  A label has a name; different names mean different
  410. labels.  Any given label is either present or absent on a particular
  411. message.  A few label names have standard meanings and are given to
  412. messages automatically by Rmail when appropriate; these special labels
  413. are called "attributes".  All other labels are assigned by the user.
  414.  
  415. `a LABEL RET'
  416.      Assign the label LABEL to the current message (`rmail-add-label').
  417.  
  418. `k LABEL RET'
  419.      Remove the label LABEL from the current message
  420.      (`rmail-kill-label').
  421.  
  422. `C-M-n LABELS RET'
  423.      Move to the next message that has one of the labels LABELS
  424.      (`rmail-next-labeled-message').
  425.  
  426. `C-M-p LABELS RET'
  427.      Move to the previous message that has one of the labels LABELS
  428.      (`rmail-previous-labeled-message').
  429.  
  430. `C-M-l LABELS RET'
  431.      Make a summary of all messages containing any of the labels LABELS
  432.      (`rmail-summary-by-labels').
  433.  
  434. Specifying an empty string for one these commands means to use the last
  435. label specified for any of these commands.
  436.  
  437.    The `a' (`rmail-add-label') and `k' (`rmail-kill-label') commands
  438. allow you to assign or remove any label on the current message.  If the
  439. LABEL argument is empty, it means to assign or remove the label most
  440. recently assigned or removed.
  441.  
  442.    Once you have given messages labels to classify them as you wish,
  443. there are two ways to use the labels: in moving and in summaries.
  444.  
  445.    The command `C-M-n LABELS RET' (`rmail-next-labeled-message') moves
  446. to the next message that has one of the labels LABELS.  LABELS is one
  447. or more label names, separated by commas.  `C-M-p'
  448. (`rmail-previous-labeled-message') is similar, but moves backwards to
  449. previous messages.  A preceding numeric argument to either one serves
  450. as a repeat count.
  451.  
  452.    The command `C-M-l LABELS RET' (`rmail-summary-by-labels') displays
  453. a summary containing only the messages that have at least one of a
  454. specified set of messages.  The argument LABELS is one or more label
  455. names, separated by commas.  *Note Rmail Summary::, for information on
  456. summaries.
  457.  
  458.    If the LABELS argument to `C-M-n', `C-M-p' or `C-M-l' is empty, it
  459. means to use the last set of labels specified for any of these commands.
  460.  
  461.    Some labels such as `deleted' and `filed' have built-in meanings and
  462. are assigned to or removed from messages automatically at appropriate
  463. times; these labels are called "attributes".  Here is a list of Rmail
  464. attributes:
  465.  
  466. `unseen'
  467.      Means the message has never been current.  Assigned to messages
  468.      when they come from an inbox file, and removed when a message is
  469.      made current.
  470.  
  471. `deleted'
  472.      Means the message is deleted.  Assigned by deletion commands and
  473.      removed by undeletion commands (*note Rmail Deletion::.).
  474.  
  475. `filed'
  476.      Means the message has been copied to some other file.  Assigned by
  477.      the file output commands (*note Rmail Files::.).
  478.  
  479. `answered'
  480.      Means you have mailed an answer to the message.  Assigned by the
  481.      `r' command (`rmail-reply').  *Note Rmail Reply::.
  482.  
  483. `forwarded'
  484.      Means you have forwarded the message to other users.  Assigned by
  485.      the `f' command (`rmail-forward').  *Note Rmail Reply::.
  486.  
  487. `edited'
  488.      Means you have edited the text of the message within Rmail.  *Note
  489.      Rmail Editing::.
  490.  
  491.    All other labels are assigned or removed only by the user, and it is
  492. up to the user to decide what they mean.
  493.  
  494. 
  495. File: rmail.info,  Node: Rmail Summary,  Next: Rmail Reply,  Prev: Rmail Labels,  Up: Top
  496.  
  497. Summaries
  498. *********
  499.  
  500.    A "summary" is a buffer Rmail creates and displays to give you an
  501. overview of the mail in an Rmail file.  It contains one line per
  502. message; each line shows the message number, the sender, the labels,
  503. and the subject.  When you select the summary buffer, you can use a
  504. number of commands to select messages by moving in the summary buffer,
  505. or to delete or undelete messages.
  506.  
  507.    A summary buffer applies to a single Rmail file only; if you are
  508. editing multiple Rmail files, they have separate summary buffers.  The
  509. summary buffer name is generated by appending `-summary' to the Rmail
  510. buffer's name.  Only one summary buffer is displayed at a time unless
  511. you make several windows and select the summary buffers by hand.
  512.  
  513. * Menu:
  514.  
  515. * Rmail Make Summary::  Making various sorts of summaries.
  516. * Rmail Summary Edit::  Manipulating messages from the summary.
  517.  
  518. 
  519. File: rmail.info,  Node: Rmail Make Summary,  Next: Rmail Summary Edit,  Prev: Rmail Summary,  Up: Rmail Summary
  520.  
  521. Making Summaries
  522. ================
  523.  
  524.    Here are the commands to create a summary for the current Rmail file.
  525. Summaries do not update automatically; to make an updated summary, you
  526. must use one of the commands again.
  527.  
  528. `h'
  529. `C-M-h'
  530.      Summarize all messages (`rmail-summary').
  531.  
  532. `l LABELS RET'
  533. `C-M-l LABELS RET'
  534.      Summarize message that have one or more of the specified labels
  535.      (`rmail-summary-by-labels').
  536.  
  537. `C-M-r RCPTS RET'
  538.      Summarize messages that have one or more of the specified
  539.      recipients (`rmail-summary-by-recipients').
  540.  
  541.    The `h' or `C-M-h' (`rmail-summary') command fills the summary
  542. buffer for the current Rmail file with a summary of all the messages in
  543. the file.  It then displays and selects the summary buffer in another
  544. window.
  545.  
  546.    The `l' or `C-M-l LABELS RET' (`rmail-summary-by-labels') makes a
  547. partial summary mentioning only the messages that have one or more of
  548. the labels LABELS.  LABELS should contain label names separated by
  549. commas.
  550.  
  551.    `C-M-r RCPTS RET' (`rmail-summary-by-recipients') makes a partial
  552. summary mentioning only the messages that have one or more of the
  553. recipients RCPTS.  RCPTS should contain mailing addresses separated by
  554. commas.
  555.  
  556.    Note that there is only one summary buffer for any Rmail file;
  557. making one kind of summary discards any previously made summary.
  558.  
  559. 
  560. File: rmail.info,  Node: Rmail Summary Edit,  Prev: Rmail Make Summary,  Up: Rmail Summary
  561.  
  562. Editing in Summaries
  563. ====================
  564.  
  565.    Summary buffers are given the major mode Rmail Summary mode, which
  566. provides the following special commands:
  567.  
  568. `j'
  569.      Select the message described by the line that point is on
  570.      (`rmail-summary-goto-msg').
  571.  
  572. `C-n'
  573.      Move to next line and select its message in Rmail
  574.      (`rmail-summary-next-all').
  575.  
  576. `C-p'
  577.      Move to previous line and select its message (`rmail-summary-
  578.      previous-all').
  579.  
  580. `n'
  581.      Move to next line, skipping lines saying `deleted', and select its
  582.      message (`rmail-summary-next-msg').
  583.  
  584. `p'
  585.      Move to previous line, skipping lines saying `deleted', and select
  586.      its message (`rmail-summary-previous-msg').
  587.  
  588. `d'
  589.      Delete the current line's message, then do like `n'
  590.      (`rmail-summary-delete-forward').
  591.  
  592. `u'
  593.      Undelete and select this message or the previous deleted message in
  594.      the summary (`rmail-summary-undelete').
  595.  
  596. `SPC'
  597.      Scroll the other window (presumably Rmail) forward
  598.      (`rmail-summary-scroll-msg-up').
  599.  
  600. `DEL'
  601.      Scroll the other window backward (`rmail-summary-scroll-msg-down').
  602.  
  603. `x'
  604.      Kill the summary window (`rmail-summary-exit').
  605.  
  606. `q'
  607.      Exit Rmail (`rmail-summary-quit').
  608.  
  609.    The keys `C-n'(`rmail-summary-next-all') and `C-p'
  610. (`rmail-summary-previous-all') are modified in Rmail Summary mode.  In
  611. addition to moving point in the summary buffer, they also cause the
  612. line's message to become current in the associated Rmail buffer.  That
  613. buffer is also made visible in another window if it is not currently
  614. visible.
  615.  
  616.    `n' and `p' are similar to `C-n' and `C-p', but skip lines that say
  617. `message deleted'.  They are like the `n' and `p' keys of Rmail itself.
  618. Note, however, that in a partial summary these commands move only
  619. among the message listed in the summary.
  620.  
  621.    The other Emacs cursor motion commands are not changed in Rmail
  622. Summary mode, so it is easy to get the point on a line whose message is
  623. not selected in Rmail.  This can also happen if you switch to the Rmail
  624. window and switch messages there.  To get the Rmail buffer back in sync
  625. with the summary, use the `j' (`rmail-summary-goto-msg') command, which
  626. selects the message of the current summary line in Rmail.
  627.  
  628.    Deletion and undeletion can also be done from the summary buffer.
  629. They always work based on where point is located in the summary buffer,
  630. ignoring which message is selected in Rmail.  `d'
  631. (`rmail-summary-delete-forward') deletes the current line's message,
  632. then moves to the next line whose message is not deleted and selects
  633. that message.  The inverse is `u' (`rmail-summary-undelete'), which
  634. moves back (if necessary) to a line whose message is deleted, undeletes
  635. that message, and selects it in Rmail.
  636.  
  637.    When moving through messages with the summary buffer, it is
  638. convenient to be able to scroll the message while remaining in the
  639. summary window.  The commands SPC (`rmail-summary-scroll-msg-up') and
  640. DEL (`rmail-summary-scroll-msg-down') do this.  They scroll the message
  641. just as they do when the Rmail buffer is selected.
  642.  
  643.    When you are finished using the summary, type `x'
  644. (`rmail-summary-exit') to kill the summary buffer's window.
  645.  
  646.    You can also exit Rmail while in the summary.  `q'
  647. (`rmail-summary-quit') kills the summary window, then saves the Rmail
  648. file and switches to another buffer.
  649.  
  650. 
  651. File: rmail.info,  Node: Rmail Reply,  Next: Rmail Editing,  Prev: Rmail Summary,  Up: Top
  652.  
  653. Sending Replies
  654. ***************
  655.  
  656.    Rmail has several commands that use Mail mode to send mail.  Only the
  657. special commands of Rmail for entering Mail mode are documented here.
  658. Note that the usual keys for sending mail, `C-x m' and `C-x 4 m', are
  659. available in Rmail mode and work just as they usually do.
  660.  
  661. `m'
  662.      Send a message (`rmail-mail').
  663.  
  664. `c'
  665.      Continue editing already started outgoing message
  666.      (`rmail-continue').
  667.  
  668. `r'
  669.      Send a reply to the current Rmail message (`rmail-reply').
  670.  
  671. `f'
  672.      Forward current message to other users (`rmail-forward').
  673.  
  674.    To reply to a the message you are reading in Rmail, type `r'
  675. (`rmail-reply').  This displays the `*mail*' buffer in another window,
  676. much like `C-x 4 m', but pre-initializes the `Subject', `To', `CC', and
  677. `In-reply-to' header fields based on the message you reply to.  The
  678. `To' field is given the sender of that message, and the `CC' gets all
  679. the recipients of that message.  Recipients that match elements of the
  680. list `rmail-dont-reply-to' are omitted; by default, this list contains
  681. your own mailing address.
  682.  
  683.    Once you have initialized the `*mail*' buffer this way, sending the
  684. mail goes as usual.  You can edit the presupplied header fields if they
  685. are not what you want.
  686.  
  687.    One additional Mail mode command is available when you invoke mail
  688. from Rmail: `C-c C-y' (`mail-yank-original') inserts into the outgoing
  689. message a copy of the current Rmail message.  Normally this is the
  690. message you are replying to, but you can also switch to the Rmail
  691. buffer, select a different message, switch back, and yank the new
  692. current message.  Normally the yanked message is indented four spaces
  693. and has most header fields deleted from it; an argument to `C-c C-y'
  694. specifies the amount to indent.  `C-u C-c C-y' neither indents the
  695. message nor deletes any header fields.
  696.  
  697.    Another frequent reason to send mail in Rmail is to forward the
  698. current message to other users.  `f' (`rmail-forward') makes this easy
  699. by preinitializing the `*mail*' buffer with the current message as the
  700. text and a subject designating a forwarded message.  All you have to do
  701. is fill in the recipients and send.
  702.  
  703.    You can use the `m' (`rmail-mail') command to start editing an
  704. outgoing message that is not a reply.  It leaves the header fields
  705. empty.  Its only difference from `C-x 4 m' is that it makes the Rmail
  706. buffer accessible for `C-c y', just as `r' does.  Thus `m' can be used
  707. to reply to or forward a message; it can do anything `r' or `f' can do.
  708.  
  709.    The `c' (`rmail-continue') command resumes editing the `*mail*'
  710. buffer, to finish editing an outgoing message you were already
  711. composing, or to alter a message you have sent.
  712.  
  713. 
  714. File: rmail.info,  Node: Rmail Editing,  Next: Rmail Digest,  Prev: Rmail Reply,  Up: Top
  715.  
  716. Editing Within a Message
  717. ************************
  718.  
  719.    Rmail mode provides a few special commands for moving within and
  720. editing the current message.  In addition, the usual Emacs commands are
  721. available (except for a few, such as `C-M-n' and `C-M-h', that are
  722. redefined by Rmail for other purposes).  However, the Rmail buffer is
  723. normally read-only, and to alter it you must use the Rmail command `w'
  724. described below.
  725.  
  726. `t'
  727.      Toggle display of original headers (`rmail-toggle-headers').
  728.  
  729. `w'
  730.      Edit current message (`rmail-edit-current-message').
  731.  
  732.    Rmail reformats the header of each message before displaying it.
  733. Normally this involves deleting most header fields, on the grounds that
  734. they are not interesting.  The variable `rmail-ignored-headers' should
  735. contain a regexp that matches the header fields to discard in this way.
  736. The original headers are saved permanently; to see what they look
  737. like, use the `t' (`rmail-toggle-headers') command.  This discards the
  738. reformatted headers of the current message and displays it with the
  739. original headers.  Repeating `t' reformats the message again.
  740. Selecting the message again also reformats.
  741.  
  742.    The Rmail buffer is normally read-only, and most of the characters
  743. you would type to modify it (including most letters) are redefined as
  744. Rmail commands.  This is usually not a problem since people rarely want
  745. to change the text of a message.  When you do want to do this, type `w'
  746. (`rmail-edit-current-message'), which changes from Rmail mode to Rmail
  747. Edit mode, another major mode which is nearly the same as Text mode.
  748. The mode line indicates this change.
  749.  
  750.    In Rmail Edit mode, letters insert themselves as usual and the Rmail
  751. commands are not available.  When you are finished editing the message
  752. and are ready to go back to Rmail, type `C-c C-c', which switches back
  753. to Rmail mode.  To return to Rmail mode but cancel all the editing you
  754. have done, type `C-c C-]'.
  755.  
  756.    Entering Rmail Edit mode calls the value of the variable
  757. `text-mode-hook' with no arguments, if that value exists and is not
  758. `nil'.  It then does the same with the variable `rmail-edit-mode-hook'
  759. and finally adds the attribute `edited' to the message.
  760.  
  761. 
  762. File: rmail.info,  Node: Rmail Digest,  Prev: Rmail Editing,  Up: Top
  763.  
  764. Digest Messages
  765. ***************
  766.  
  767.    A "digest message" is a message which exists to contain and carry
  768. several other messages.  Digests are used on moderated mailing lists.
  769. All messages that arrive for the list during a period of time, such as
  770. one day, are put inside a single digest which is then sent to the
  771. subscribers.  Transmitting the single digest uses much less computer
  772. time than transmitting the individual messages even though the total
  773. size is the same, because the per-message overhead in network mail
  774. transmission is considerable.
  775.  
  776.    When you receive a digest message, the most convenient way to read
  777. it is to "undigestify" it: to turn it back into many individual
  778. messages.  You can then read and delete the individual messages as it
  779. suits you.
  780.  
  781.    To undigestify a message, select it and then type `M-x
  782. undigestify-rmail-message'.  This copies each submessage as a separate
  783. Rmail message and inserts them all following the digest.  The digest
  784. message itself is flagged as deleted.
  785.  
  786.  
  787. 
  788. Tag Table:
  789. Node: Top358
  790. Node: Rmail Scrolling3678
  791. Node: Rmail Motion4640
  792. Node: Rmail Deletion7817
  793. Node: Rmail Inbox10566
  794. Node: Rmail Files12719
  795. Node: Rmail Output15263
  796. Node: Rmail Labels17603
  797. Node: Rmail Summary21140
  798. Node: Rmail Make Summary22110
  799. Node: Rmail Summary Edit23550
  800. Node: Rmail Reply26959
  801. Node: Rmail Editing29732
  802. Node: Rmail Digest32002
  803. 
  804. End Tag Table
  805.